package com.liuceng.zen.pojo.form;

import com.liuceng.zen.pojo.domain.*;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
public class FrontAdGroupForm extends BaseForm<FrontAdGroup> {
  public static final Integer CREATIVE = 0;
  public static final Integer DELETE = 1;
  public static final Integer IS_BEING_REVIEWED = 1;// 正在审核中
  public static final Integer IS_BEING_PUT = 2;// 正在投放中
  public static final Integer STOP = 3;// 广告暂停
  public static final Integer OFFER_DOWN = 4;// 出价过低;
  public static final Integer AUDIT_NOT_THROUGH = 5;// 审核不通过;
  public static  final  Integer FRONT_IS_BEING_REVIEWED=6;//待审核,前台余额小于0的时候客户所见

  List<DictRegion> provinces;
  List<FrontCampaign> frontCampaigns;
  List<DiyForm> diyForms;
  List<LandingPage> landingPages;
  private List<FrontCreative> frontCreatives;
  private List<FrontSelfOperateCreative> frontSelfOperateCreatives;
  private FrontAdGroup frontAdGroup;
  private Integer frontAdGroupId;
  private List<Integer> adTargetId;
  private List<AdDirected> adDirecteds;
  private AdDirected adDirected;
  private List<Map<String, Object>> memberFrontAdGourp;
  private String mobileOfferMessage;
  private String pcOfferMessage;
  private BigDecimal pcDayBudget;
  private BigDecimal mobileDayBudget;
  private BigDecimal pcMinAdOffer;
  private BigDecimal mobileMinAdOffer;
  private Integer adCount;
  private Integer frontCampaignId;
  private String frontCampaignName;
  private Integer frontCampaignType;
  @NotBlank(message = "请输入标题")
  private String title;
  @NotBlank(message = "请输入副标题")
  private String subtitle;
  private String category;
  private String subCategory;
  private List<Integer> creativesId;
  private String landingPageUrl;
  private Integer diyFormId;
  @NotBlank(message = "请选择地区")
  private Integer adTargetMarketType;
  private List<Integer> adTargetMarketArea;
  @NotBlank(message = "请字少选择一项")
  private String adTargetGender;
  @NotBlank(message = "请字少选择一项")
  private List<String> adTargetAge;
  @NotBlank(message = "请字少选择一项")
  private List<String> adTargetMarriage;
  @NotBlank(message = "请字少选择一项")
  private List<String> adTargetBusinessInterest;
  @NotBlank(message = "请字少选择一项")
  private List<String> adTargetTempeture;
  @NotBlank(message = "请字少选择一项")
  private List<String> adTargetRay;
  @NotBlank(message = "请字少选择一项")
  private List<String> adTargetWeather;
  @NotBlank(message = "请字少选择一项")
  private List<String> adTargetDevicePrice;
  @NotBlank(message = "请字少选择一项")
  private List<String> adTargetOs;
  @NotBlank(message = "请字少选择一项")
  private List<String> adTargetHumidity;
  @NotBlank(message = "请输入每日预算")
  private BigDecimal dayBudget;
  private Integer createdId;
  private Date createdAt;
  private Integer updatedId;
  private Date updatedAt;
  private Integer deleteFlag;
  private Date deletedAt;

  private String adPutStartAt;
  private String adPutEndAt;
  private Integer adPutType;
  private BigDecimal adOffer;

  private String diyFormDomain;
  private Integer promotionGoal;
  private Boolean pcIsCreated;
  private Boolean mobileIsCreated;
}
